Module: Aws::EC2

Defined in:
lib/aws-sdk-ec2/route_table_association.rb,
lib/aws-sdk-ec2/customizations/instance.rb,
lib/aws-sdk-ec2/customizations/resource.rb,
lib/aws-sdk-ec2/plugins/region_validation.rb,
lib/aws-sdk-ec2/network_interface_association.rb,
lib/aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb,
lib/aws-sdk-ec2/vpc_peering_connection.rb,
lib/aws-sdk-ec2/network_interface.rb,
lib/aws-sdk-ec2/internet_gateway.rb,
lib/aws-sdk-ec2/placement_group.rb,
lib/aws-sdk-ec2/classic_address.rb,
lib/aws-sdk-ec2/security_group.rb,
lib/aws-sdk-ec2/key_pair_info.rb,
lib/aws-sdk-ec2/dhcp_options.rb,
lib/aws-sdk-ec2/vpc_address.rb,
lib/aws-sdk-ec2/route_table.rb,
lib/aws-sdk-ec2/network_acl.rb,
lib/aws-sdk-ec2/client_api.rb,
lib/aws-sdk-ec2/snapshot.rb,
lib/aws-sdk-ec2/resource.rb,
lib/aws-sdk-ec2/key_pair.rb,
lib/aws-sdk-ec2/instance.rb,
lib/aws-sdk-ec2/waiters.rb,
lib/aws-sdk-ec2/volume.rb,
lib/aws-sdk-ec2/subnet.rb,
lib/aws-sdk-ec2/errors.rb,
lib/aws-sdk-ec2/client.rb,
lib/aws-sdk-ec2/types.rb,
lib/aws-sdk-ec2/route.rb,
lib/aws-sdk-ec2/image.rb,
lib/aws-sdk-ec2/vpc.rb,
lib/aws-sdk-ec2/tag.rb,
lib/aws-sdk-ec2.rb

Overview

This module provides support for Amazon Elastic Compute Cloud. This module is available in the ‘aws-sdk-ec2` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

See Client for more information.

# Errors

Errors returned from Amazon Elastic Compute Cloud all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::EC2::Errors::ServiceError
  # rescues all service API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Errors, Plugins, Types, Waiters Classes: ClassicAddress, Client, DhcpOptions, Image, Instance, InternetGateway, KeyPair, KeyPairInfo, NetworkAcl, NetworkInterface, NetworkInterfaceAssociation, PlacementGroup, Resource, Route, RouteTable, RouteTableAssociation, SecurityGroup, Snapshot, Subnet, Tag, Volume, Vpc, VpcAddress, VpcPeeringConnection

Constant Summary collapse

GEM_VERSION =
'1.72.0'